<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateManualDfMethods extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('manual_df_methods', function (Blueprint $table) {
            $table->id();
            $table->string('type', 100)->nullable()->comment('');
            $table->string('heading', 100)->nullable()->comment('');
            $table->string('code', 100)->nullable()->comment('');
            $table->string('description', 100)->nullable()->comment('');
            $table->string('bank_info', 100)->nullable()->comment('');
            $table->string('photo', 100)->nullable()->comment('');
            $table->string('mch_id', 100)->nullable()->comment('商户号');
            $table->string('appid', 100)->nullable()->comment('');
            $table->string('appsecret', 100)->nullable()->comment('');
            $table->string('gateway', 500)->nullable()->comment('网关地址');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('manual_df_methods');
    }
}
